/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

/**
 *
 * @author Young Ran
 */
public class Branch {
    private int id;
    private String name;
    private String address;
    private String phone;
    private String email;

    public Branch() {
    }

    public Branch(int id, String name, String address, String phone, String email) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.phone = phone;
        this.email = email;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "<html><font size ='4' color='white'><p style='padding:20px;'><b>"+name + "</b> - " + address + "<br />Phone: <br />&nbsp;" + phone + "<br />Email: <br />&nbsp;" + email + "</p></font></html>";
    }
    
    
}
